/*
#define  LOADCSS    @"function loadcss(url) { \
                            var head = document.getElementsByTagName('head')[0], link = document.createElement('link'); \
                            link.type = 'text/css'; \
                            link.rel = 'stylesheet'; \
                            link.href = url; \
                            head.appendChild(link); \
                            return link; \
                            }"
#define  SHEET      @"var mySheet = document.styleSheets[0];"
#define  ADDCSSRULE @"function addCSSRule(selector, newRule) {if (mySheet.addRule) {mySheet.addRule(selector, newRule);} else {ruleIndex = mySheet.cssRules.length;mySheet.insertRule(selector + '{' + newRule + ';}', ruleIndex);}}"
*/

#define GeneralSetting  @"GeneralSetting"

typedef enum {
    OptionType_FontFace,
    OptionType_PageTurn
}OptionType;

typedef enum {
    FontFaceStyle_Arial,
    FontFaceStyle_Futura,
    FontFaceStyle_Georgia,
    FontFaceStyle_Helvetica,
    FontFaceStyle_Palantino,
    FontFaceStyle_Verdana,
    FontFaceStyle_TimesNewRoman,
    FontFaceStyle_Roboto
}FontFaceStyle;

typedef enum {
    PageTurnStyle_Slide,
    PageTurnStyle_Curl,
    PageTurnStyle_Fade,
    PageTurnStyle_Cut
}PageTurnStyle;

typedef enum {
    ThemeStyle_White,
    ThemeStyle_Sepia,
    ThemeStyle_Black,
}ThemeStyle;
